﻿<%@ Page Language="C#" MasterPageFile="~/ExtraOpdrachten.Master" AutoEventWireup="true" CodeBehind="Opdracht6.aspx.cs" Inherits="ExtraOpdrachten.Opdracht6" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1>Opdracht 6 - Leeftijdscalculator</h1>

    <div style="margin: 100px;">
        <table style="width: 40%;">
            <tr>
                <td>Dag</td>
                <td>
                    <asp:TextBox ID="txtDay" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>Maand</td>
                <td>
                    <asp:TextBox ID="txtMonth" runat="server"></asp:TextBox>
                </td>

            </tr>
            <tr>
                <td>Jaar</td>
                <td>
                    <asp:TextBox ID="txtYear" runat="server"></asp:TextBox>
                </td>
            </tr>
        </table>
        <asp:Button ID="btnCalculateAge" runat="server" Text="Bereken leeftijd" OnClick="btnCalculateAge_Click" /><br />
        <br />
        <asp:Label ID="lblResult" runat="server"></asp:Label>
    </div>
</asp:Content>

